package com.cqsw.bbs.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * comment
 * @author 
 */
@Data
public class Comment implements Serializable {
    /**
     * 编号
     */
    private Integer id;

    /**
     * 评论用户id
     */
    private Integer topicId;
    private Integer total;
    private Integer userId;
    private String username;
    private String nikename;
    private String avatarName;

    /**
     * 类型(1.论坛帖 2.问题帖 3.评论回复)
     */
    private String type;

    private Integer commentObjectId;

    private String commentContent;

    /**
     * 创建时间
     */
    private Date createTime;
    private List<Comment> replyList;
    private String title;

    private static final long serialVersionUID = 1L;
}